
import Base from 'store/modules/base';

/**
 * items
 */
import Needle from 'store/modules/items/needle';

export default class BoxBase extends Base {

  constructor(props) {
    super(props);
  }

  get allowOpen() {

    return !this.openKey || this.parent.items.filter(item => item.key === this.openKey).length > 0;

  };

  addItemsInToBox() {
    console.log(this.getItems);
  }

}
